package com.zwj.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

@AllArgsConstructor
@Data
public class SelectStudentQuery {
    //limit偏移量
    private int pageIndex;
    //limit取记录条数
    private int pageSize;
    @ApiModelProperty(value = "班级ID，修改学生时是学生ID")
    private String id;
    @ApiModelProperty(value = "用户编号")
    private String userNo;
    @ApiModelProperty(value = "姓名")
    @TableField("name")
    private String name;
    @ApiModelProperty(value = "身份证号")
    private String idNo;
    @ApiModelProperty(value = "性别，参见Sex枚举")
    private String sex;
    @ApiModelProperty(value = "手机号")
    private String mobileNo;
    @ApiModelProperty(value = "职位，参见Position枚举")
    private String position;
    @ApiModelProperty(value = "邮箱")
    @TableField("email")
    private String email;
    @ApiModelProperty(value = "按ID查询班级ID")
    private String classId;
    @ApiModelProperty(value = "学生ID")
    private String studentId;
}
